// 封装个人信息页相关接口
import request from '@/utils/request.js'

// 提交用户信息
export const submitUserInfoService = (data) => {
	return request({
		url: '/user/info',
		method: 'POST',
		data
	})
}

// 获取用户信息
export const getUserInfoService = (user_id) => {
	return request({
		url: `/user/${user_id}`,
		method: 'GET'
	})
}